import axios from "../utils/request";

function getOrderList(query) {
	// ?id=1&name=kkk
	return axios.get("/order/list", { params: query });
}
function createOrder(body) {
	// ?id=1&name=kkk
	return axios.post("/order/create", body);
}
export default {
	getOrderList,
	createOrder,
};
